@charset "utf-8";

::-webkit-scrollbar{
    width:10px;
    height:10px;
    background: #F5F5F5;
}
//::-webkit-scrollbar-track-piece {
//      background:url();
//  }
//::-webkit-scrollbar-button{
//  background-color:#FF7677;
//}
::-webkit-scrollbar-thumb{  
    border-radius: 10px;  
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);  
    background-color: #555;  
}
::-webkit-scrollbar-track{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);  
    border-radius: 10px;  
    background-color: #F5F5F5; 
}


body{
    font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, STHeiTi, sans-serif;
}

header{
    padding-top: 50px;
    .navbar-default{
        background-color: #222;
        border: none;
        .navbar-nav{
            >.active{
                >a{
                    &,&:hover{
                        color: #fff;
                        background-color: #080808;
                    }
                }
            }
            >li{
                >a{
                    color: #9d9d9d;
                }
            }
        }
    }
    .navbar{
        margin-bottom: 0;
    }
    .navbar-brand{
        padding: 7px 6px;
    }
    .bg{
        background: #2b80d9;
    }
    .img_wrap{
        img{
            width: 100%;
            &:hover{
                opacity: 0.8;
            }
        }
    }
}



footer{
    .nav{
        padding-top: 35px;
        padding-bottom: 36px;
        background-color: #3b3b3b;
        ul{
            list-style: none;
            padding-left: 0;
            margin-left: -15px;
            li{
                font-size: 16px;
                display: inline-block;
                margin-left: 12px;
                &:first-of-type{
                    margin-left: 0;
                }
                a{
                    color: #a1a3ab;
                    text-decoration: none;
                    &:hover{
                        color: #ffffff;
                        text-decoration: none;
                    }
                }
            }
        }
        p{
            font-size: 12px;
            color: #a1a3ab;
            margin-left: -15px;
        }
        .footer_icon_wrap{
            float: right;
            margin-left: -15px;
            a{
                display: inline-block;
                height: 38px;
                width: 38px;
                background: url(../images/footer.png) no-repeat scroll 0% 0% transparent;
                margin-right: 15px;
            }
            .mail{
                background-position: 0px 0px;
                &:hover{
                    ~.mail_mess{
                        display: block;
                    }
                    background-position: 0px -39px;
                }
            }
            .mail_mess{
                position: absolute;
                width: 142px;
                height: 150px;
                left: 35%;
                bottom: 45px;
                display: none;
            }
            .weixin{
                background-position: -58px 0px;
                &:hover{
                    ~.weixin_mess{
                        display: block;
                    }
                    background-position: -58px -39px;
                }
            }
            .weixin_mess{
                    position: absolute;
                    width: 142px;
                    height: 150px;
                    left: 52%;
                    bottom: 45px;
                    display: none;
                    img{
                        width: 100%;
                    }
            }
            .qq{
                background-position: -116px 0px;
                &:hover{
                    ~.qq_mess{
                        display: block;
                    }
                    background-position: -116px -39px;
                }
            }
            .qq_mess{
                position: absolute;
                width: 142px;
                height: 150px;
                left: 69%;
                bottom: 45px;
                display: none;
            }
        }
    }
}



@media (min-width:768px) and (max-width:992px){
    .nav{
        >li{
            >a{
                padding-left: 5px;
                padding-right: 5px;
            }
        }
    }
}


@media (min-width: 992px){
    .container{
        width: 1000px;
        padding-left: 14px;
    }
}




@media (min-width: 768px){
    .navbar {
        border-radius: 0;
    }
}
@media (max-width: 768px){
    body{
        overflow-x: hidden;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 767px){
    footer {
        .nav {
            .footer_icon_wrap {
                a{
                    display: none;
                }
            }
        }
    }
}
